package com.monitor.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.monitor.entity.ErpTireSensor;

/**
 * <p>
 * 轮胎传感器对应表 Mapper 接口
 * </p>
 *
 * @author LX
 * @since 2018-09-27
 */
public interface ErpTireSensorMapper extends BaseMapper<ErpTireSensor> {
	@Select("select * from erp_tire_sensor ts where ts.tire_id=#{tireId}")
	public ErpTireSensor selectByTireId(@Param("tireId")int tireId);
}